home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20030409-20031118
/
000203_fdc@columbia.edu_Tue Jul 22 13:53:21 EDT 2003.msg
< prev
next >
Wrap
Text File
|
2003-11-18
|
2KB
|
57 lines
Article: 14438 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit hangs on AT commands
Date: 22 Jul 2003 13:52:38 -0400
Organization: Columbia University
Lines: 40
Message-ID: <bfjtl6$ds4$1@watsol.cc.columbia.edu>
References: <jgdphv05ih5dgrqkpd26mh9cssbei74ekk@4ax.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1058896359 11365 128.59.39.139 (22 Jul 2003 17:52:39 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 22 Jul 2003 17:52:39 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14438
In article <jgdphv05ih5dgrqkpd26mh9cssbei74ekk@4ax.com>,
Jochen Daum <jochen.daum@cans.co.nz> wrote:
: I would like to control a CDMA modem with AT commands and would like
: to test that with kermit. The modem is connected to ttyS1 and I had it
: working at least once.
:
So this is Linux? And the version of Kermit is...?
: I connect to the modem by typing
:
: C-Kermit>set line /dev/ttyS3
: C-Kermit>set carrier-watch off
: C-Kermit>set speed 115200
:
You should reverse the first two commands, and also add:
set modem type none
before the "set line" command.
: When I type "c", I get connected and I can type Ctrl-\ C to get back.
: As soon as I type AT something, kermit hangs and I have to kill it.
: Irt worked once before, I typed ATE1 and then one of the SMS commands
: and I unpowered the modem in between.
:
Sounds like Kermit is expected the CTS signal from the modem to be high,
but it's not. Try adding "set flow none". Or (better) configure the
modem to use RTS/CTS (hardware) flow control.
Btw, "show comm" probably would have suggested this to you, perhaps
subliminally.
Once you get it working, of course you can use Kermit's SET DIAL, SET
MODEM, and DIAL commands to configure the modem automatically or, if you
prefer, you can also use Kermit's script language.
On the other hand, if it still doesn't work, there's a whole series of
troubleshooting steps but no point reciting them yet.
- Frank